package caipu;

import java.io.Serializable;

import lombok.Data;

@Data
public class Address implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2553266173569449598L;
	private int id;
	private String name;
	private double price;

	public Address(String name, double price) {
		super();
		this.name = name;
		this.price = price;
	}

	public Address() {
		super();
	}

	public Address(int id, String name, double price) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
	}

	@Override
	public String toString() {
		return "编号:" + id + ", 菜谱名:" + name + ", 价格:" + price;
	}

}
